package org.yray.sip.rtp.data;

import lombok.extern.slf4j.Slf4j;

import java.io.ByteArrayOutputStream;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

@Slf4j
public class MediaContext {

    private  final Map<Long,MediaClient> mediaClientMap=new ConcurrentHashMap<>();
    private  final Map<String,ByteArrayOutputStream> toManMediaMap=new ConcurrentHashMap<>();

    public Map<Long, MediaClient> getMediaClientMap() {
        return mediaClientMap;
    }

    public Map<String, ByteArrayOutputStream> getToManMediaMap() {
        return toManMediaMap;
    }

}
